﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using chatc_application.connect;
using chatc_application.frame;







namespace chatc_application
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {


            
            

            Console.WriteLine("started");
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            ConnectRemote con = ConnectRemote.getInstance();
            
            ClientChat cc = new ClientChat(con);
            FormLogin login = new FormLogin(con, cc);
            Application.Run(login);
            Application.Run(cc);
           




        }
    }
}
